package com.ruoyi.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文件储存对象 pms_file
 *
 * @author ruoyi
 * @date 2024-12-02
 */
@Data
public class PmsFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件id */
    private Long pmsFileId;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private String fileType;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 文件链接 */
    @Excel(name = "文件链接")
    private String fileUrl;

    public void setPmsFileId(Long pmsFileId)
    {
        this.pmsFileId = pmsFileId;
    }

    public Long getPmsFileId()
    {
        return pmsFileId;
    }
    public void setFileType(String fileType)
    {
        this.fileType = fileType;
    }

    public String getFileType()
    {
        return fileType;
    }
    public void setFileName(String fileName)
    {
        this.fileName = fileName;
    }

    public String getFileName()
    {
        return fileName;
    }
    public void setFileUrl(String fileUrl)
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl()
    {
        return fileUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pmsFileId", getPmsFileId())
            .append("fileType", getFileType())
            .append("fileName", getFileName())
            .append("fileUrl", getFileUrl())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
